package com.dongao.model;

import java.util.List;


public class Exam extends BaseModel {
	private static final long serialVersionUID = 1L;
	
	private Long examId;
	private String examName;
	private List<Subject> subjects;
	
	public Long getExamId() {
		return examId;
	}
	
	public void setExamId(Long examId) {
		this.examId = examId;
	}
	
	public String getExamName() {
		return examName;
	}
	
	public void setExamName(String examName) {
		this.examName = examName;
	}
	
	public List<Subject> getSubjects() {
		return subjects;
	}
	
	public void setSubjects(List<Subject> subjects) {
		this.subjects = subjects;
	}

	@Override
	public String toString() {
		return "Exam [examId=" + examId + ", examName=" + examName
				+ ", subjects=" + subjects + "]";
	}
	
}
